package models;

import entities.ProductsEntity;

import java.util.List;
import java.util.Vector;

public class HomePageModel {
    private List<ProductsEntity> products;

    public HomePageModel(){
        products = new Vector<ProductsEntity>();
    }

    public HomePageModel(List<ProductsEntity> entities) {
        products = entities;
    }

    public List<ProductsEntity> getProducts() {
        return products;
    }

    public void setProducts(List<ProductsEntity> products) {
        this.products = products;
    }
}
